package controllers

import (
	"github.com/astaxie/beego"
)


type AdminController struct {
	beego.Controller
}

func (this *AdminController) Get() {
	//c.Ctx.WriteString("<h1>User</h1>")
	this.Data["name"] = "I am Admin-Module"
	this.Data["city"] = "中国-重庆"  //模板中 {{.city}} 调用
	this.TplName = "user/index.html"  //views目录下的模板文件
}